package pikes.ecma;

public class OrOperation extends PrintableExpression implements ILogicalORExpression {

	private ILogicalORExpression first = null;

	private ILogicalORExpression second = null;

	public OrOperation(ILogicalORExpression first, ILogicalORExpression second) {
		super();
		this.first = first;
		this.second = second;
	}

	public void visit(SyntaxTreeVisitor syntaxTreeVisitor) throws EcmaSyntaxVisitingException {
		first.visit(syntaxTreeVisitor);
		syntaxTreeVisitor.binaryOperator("||");
		second.visit(syntaxTreeVisitor);
	}

}
